<?php
namespace app\home\controller;
use app\home\controller\Common;
use think\Request;
use think\Session;
use app\home\model\Shortanswer as sanswer;
class Shortanswer extends Common
{
    /**
     * 取出指定id的数据
     * @access public
     * @param string
     * return array
     */
    public static function getInfoById($ids){
        if($ids){
            $single = new sanswer();
            $data = $single->getInfoByIds($ids);
            return $data;
        }else{
            return false;
        }
    }


}
